-
-
Notifications
You must be signed in to change notification settings - Fork 93
Add gitlab mr #94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add gitlab mr #94
Conversation
Noel posted a link to this in the Hangops slack.
| err 'Required program missing: jq' | ||
| fi | ||
|
|
||
| ref="$(git rev-parse --abbrev-ref --symbolic-full-name @{u})" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This { is literal. Check expression (missing ;/\n?) or quote it.
| err 'Required program missing: jq' | ||
| fi | ||
|
|
||
| ref="$(git rev-parse --abbrev-ref --symbolic-full-name @{u})" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This } is literal. Check expression (missing ;/\n?) or quote it.
bin/git-gitlab-mr
Outdated
| ;; | ||
| esac | ||
|
|
||
| : "${mrurl=${scheme}://${domain}${path%.git}${suffix}}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mrurl is referenced but not assigned.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bug. Should be : ${ident:=...}. I'll fix the gist. (The fix won't silence this warning, by the way -- it's just I don't care about the difference between null / empty here.)
|
Code Climate has analyzed commit bc222e2 and detected 2 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
Description
Add @nilium's
git-gitlab-mrandgit-wordinessscriptsType of changes
Checklist:
#!/usr/bin/env interpreterinstead of potentially platform-specific direct paths (#!/bin/shis an ok exception)\License Acceptance